#
# Ruby extension configuration for STemp
#
# STemp - Secure tempfile extension for Ruby
#
# Author:: Cian Synnott <cian@nospam@gmail.com>
# Copyright:: Copyright (c) 2006 Cian Synnott
# License:: MIT License
# 
# For license info, see the README file bundled with this package.
#
# $Id: extconf.rb 6 2006-11-15 18:25:26Z cian $
#

require 'mkmf'

if have_func('mkdtemp') and have_func('mkstemp') and have_func('tmpfile')
then
   create_makefile('stemp')
else
   puts "One or more of 'mkdtemp', 'mkstemp' and 'tmpfile' is not available"
end

